home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3144 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  568 b 

  1. Path: isum2.iastate.edu!cakamman
  2. From: cakamman@iastate.edu (Chris A Kamman)
  3. Newsgroups: comp.lang.c
  4. Subject: Newbie - Read Text Files ques!
  5. Date: 26 Jan 96 14:29:04 GMT
  6. Organization: Iowa State University, Ames, Iowa
  7. Message-ID: <cakamman.822666544@isum2.iastate.edu>
  8. NNTP-Posting-Host: isum2.iastate.edu
  9.  
  10. Hi,
  11.     How can I write code to read text files on UNIX and
  12. DOS. 
  13.     I am currently using fgets and strtok to get what I
  14. need. But if I take a file from UNIX ( no \r ) I am having
  15. problems in DOS.
  16.  
  17.  
  18. Thanks for any help/info.
  19.  
  20. -- 
  21. Chris A Kamman
  22. cakamman@iastate.edu
  23.